package com.ruoyi.program.domain;

import java.util.Date;

import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

//@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateNameOrder {
  /**
   * 姓名
   */
  private String surname;
  /**
   * 性别 1 男 2 女
   */
  private int sex;

  /**
   * 性别 1 单字 2 双字
   */
  private int type;
  /**
   * 生日
   */
  private Date birthday;
  /**
   * 用户id
   */
  private String userId;
  /**
   * 支付宝appid
   **/
  private String appid;

  /**
   * 商品id
   */
  private Integer productId;
  /**
   * 商品类型 1 普通商品 2 定制商品 
   */
  private Integer productType;
  /**
   * 商品单价
   */
  private Double productPrice;
  /**
   * 商品原价
   */
  private Double productOriginalPrice;
  /**
   * 商品数量
   */
  private Integer productNumber;
  /**
   * 商品总价
   */
  private Double totalPrice;
  /**
   * 订单标题
   */
  private String subject;
  /**
   * 订单状态 1 未支付 2 已支付 3 已取消 4 已退款 5 已关闭
   * 
   */
  private Integer status;

  /**
   * 订单号 16位数字
   */
  private String orderNo;
  /**
   * 支付宝交易号
   * 
   */
  private String tradeNo;

  /**
   * 订单创建时间
   */
  private Date createTime;

  /**
   * 订单支付时间
   */
  private Date payTime;

  /**
   * 订单关闭时间
   */
  private Date closeTime;

  /**
   * 订单退款时间
   */
  private Date refundTime;

  /**
   * 订单号
   */
  private String outTradeNo;

  /**
   * 订单备注
   */
  private String remarks;
  /**
   * 联系人信息
   * */
  private String contact;

  
  /**
   * 生成的名字
   * 数组形式存储
   */
  // private String[] names;

  private String[] name;
  private String names;

  public String getSurname() {
    return surname;
  }

  public void setSurname(String surname) {
    this.surname = surname;
  }

  public int getSex() {
    return sex;
  }

  public void setSex(int sex) {
    this.sex = sex;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getAppid() {
    return appid;
  }

  public void setAppid(String appid) {
    this.appid = appid;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  // 在getProductId()和setProductId()方法之后、getProductPrice()方法之前添加
  public Integer getProductType() {
      return productType;
  }
  
  public void setProductType(Integer productType) {
      this.productType = productType;
  }

  public Double getProductPrice() {
    return productPrice;
  }

  public void setProductPrice(Double productPrice) {
    this.productPrice = productPrice;
  }

  public Double getProductOriginalPrice() {
    return productOriginalPrice;
  }

  public void setProductOriginalPrice(Double productOriginalPrice) {
    this.productOriginalPrice = productOriginalPrice;
  }

  public Integer getProductNumber() {
    return productNumber;
  }

  public void setProductNumber(Integer productNumber) {
    this.productNumber = productNumber;
  }

  public Double getTotalPrice() {
    return totalPrice;
  }

  public void setTotalPrice(Double totalPrice) {
    this.totalPrice = totalPrice;
  }

  public String getSubject() {
    return subject;
  }

  public void setSubject(String subject) {
    this.subject = subject;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }
  
  // 添加remarks的get和set方法
  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  // 添加contact的get和set方法
  public String getContact() {
    return contact;
  }

  public void setContact(String contact) {
    this.contact = contact;
  }

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

  public String getTradeNo() {
    return tradeNo;
  }

  public void setTradeNo(String tradeNo) {
    this.tradeNo = tradeNo;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getPayTime() {
    return payTime;
  }

  public void setPayTime(Date payTime) {
    this.payTime = payTime;
  }

  public Date getCloseTime() {
    return closeTime;
  }

  public void setCloseTime(Date closeTime) {
    this.closeTime = closeTime;
  }

  public Date getRefundTime() {
    return refundTime;
  }

  public void setRefundTime(Date refundTime) {
    this.refundTime = refundTime;
  }

  public String getOutTradeNo() {
    return outTradeNo;
  }

  public void setOutTradeNo(String outTradeNo) {
    this.outTradeNo = outTradeNo;
  }

  public String[] getName() {
    return name;
  }

  public void setName(String[] name) {
    this.name = name;
  }

  public String getNames() {
    return names;
  }

  public void setNames(String names) {
    this.names = names;
  }
}